package cn.sitedev.improved;

/**
 * @author qchen
 * @description
 * @date 2020/9/16 7:35
 */
public class ProductDao {
    private DBConnection dbConnection;

    public void setConnection(DBConnection dbConnection) {
        this.dbConnection = dbConnection;
    }

    public void addProduct() {
        String conn = dbConnection.getConnection();
        System.out.println("获得数据库连接");
    }


}
